#include "..\System.h"

//+ boxing/unboxing
internal System_Object *___boxshort_(short_ value)
{
	System_Int16 *box = new(,System_Int16);
	box->m_value = value;
	return (System_Object *)box;
}

internal short_ ___unboxshort_(System_Object *value)
{
	return ((System_Int16 *)value)->m_value;
}

//+ type
Implement_Type(System_Int16,System_Object,)
Implement_DefaultCtor(System_Int16,System_Object)
System_Type _short_Type = { (__typeCtor)null, L"short_", (__typeBoxer)&___boxshort_, (__typeUnboxer)&___unboxshort_, (char*)default(short_), _TypeFlags_Value };
Declare_System(System_Int16, short_)
Implement_System(System_Int16, short_)
